import Vue from "vue";
import Antd from "ant-design-vue";
import App from "./App.vue";
import router from "./router";
import "ant-design-vue/dist/antd.css";
import Authorized from "@/components/Authorized";
import auth from "@/directives/auth";
import VueCropper from "vue-cropper";

Vue.config.productionTip = false;
Vue.use(Antd);
Vue.use(auth);
Vue.use(VueCropper);
//全局样式
import "@/assets/css/style.css";
Vue.component("Authorized", Authorized);

new Vue({
  router,
  render: h => h(App)
}).$mount("#app");
